#include <iostream>
#include <string>
#include "../lib/SDL/include/SDL.h"
#include "../lib/SDL/include/SDL_image.h"

class Block{

  public:
  Block();
  Block(char id, float resistance, float TNT, std::string name, std::string sprite, bool canPass = false);
  Block(char id, float resistance, float TNT, std::string name, bool canPass = false);
  ~Block();
  char getId(void);
  bool getCanPass(void);
  char getMetadata(void);
  void setMetadata(char);
  std::string getName(void);
  void onCollide(void);
  float getResistance(void);
  float getTNT(void);

  protected:

  char m_id;
  bool m_canPass;
  char m_metadata;
  SDL_Surface *m_sprite;
  std::string m_name;
  float m_resistance;
  float m_TNT;

};
